package com.cyp.productservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyp.productservice.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public  interface ProductsMapper extends BaseMapper<Product> {
    @Select("select * from product")
    List<Product> getProductList() ;
}
